#ifndef __MAINSCREEN_H__
#define __MAINSCREEN_H__

#include "Screen.h"
#include "TimedEvent.h"
#include "Ball.h"
#include "GLFont.h"
#include "SkyBox.h"
#include "Line.h"

/*
 * Classe: MainScreen
 *  Herda de: Screen
 *
 *   Tela principal do aplicativo
 *
*/

class MainScreen : public Screen, public TimedEvent
{
  private:
          Drawable *b[4];
          GLFont  *f;
          SkyBox * sky;
          Line *l;
  public:
         MainScreen();
         ~MainScreen();
         
         void setup(int width, int height);
         void display(double dt);
         
         void processKey(unsigned char key, int x, int y);
         
         virtual void triggerEvent(int e);
};
      
#endif
